#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int n;
	scanf("%d", &n);
	int count = 0;
	int m=-n;
	int store[10] = { 0 };
	if (n < 0)
	{
		printf("fu ");
		m = -n;
	}
	int i = 0;
	if (n == 0)
		printf("ling");
	char * arr[10] = { "ling","yi","er","san","si","wu","liu","qi","ba","jiu"};

	for (i = 0;m > 0;i++)
	{
		store[i] = m % 10;
		m /= 10;
	}
	i = i - 1;
	for (;i>=0;i--)
	{
		if (count > 0)
			printf(" ");
		printf("%s", arr[store[i]]);
		count++;
	}

}
